home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / lib / partman / mount.d / 70ext3 < prev    next >
Text File  |  2008-10-29  |  211b  |  21 lines

  1. #!/bin/sh
  2.  
  3. set -- $1
  4.  
  5. fs=$1
  6. mp=$2
  7. type=$3
  8. options=$4
  9. dump=$5
  10. pass=$6
  11.  
  12. case $type in
  13.     ext3)
  14.     mount -t ext3 ${options:+-o "$options"} $fs /target$mp || exit 1
  15.     echo "umount /target$mp"
  16.     exit 0
  17.     ;;
  18. esac
  19.  
  20. exit 1
  21.